//两数之和
int* twoSum(int* nums,int numsSize, int target, int* returnSize)
{
    int* re=(int*)malloc(2 * sizeof(int));
    int i,j;
    for(i=0;i<numsSize;i++)
    {
        for(j=1+i;j<numsSize;j++)
        {
            if(nums[i]+nums[j]==target)
            {
                re[0]=i;
                re[1]=j;
                *returnSize=2;
                return re;
            }
        }
    }
    return NULL;
}